Hackerrank functions in c day 4 solution

visit shbcf.ru